home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Stuff / 3D_Reality / 3D_Reality_API / Examples / ControlPoint.bproj / ControlPoint.h < prev    next >
Encoding:
Text File  |  1992-10-09  |  982 b   |  28 lines

  1.  
  2. /* ControlPoint.h    Peter Wickersham
  3.  * 
  4.  * ControlPoint : Shape : N3DShape : Object
  5.  *
  6.  * Generally, ControlPoint is an abstraction of control points for Patches.
  7.  * They provide a "handle" by which a user can manipulate certain parameter
  8.  * values for patches.  Specifically, they are a subclass of Shape that
  9.  * render small spheres at low resolution always.  They are meant to be
  10.  * allocated by another shape which then queries the control points for their
  11.  * position in space. See Patch.[hm] for details on how that owner shape uses
  12.  * the points.  It is up to the allocating object to place the ControlPoint
  13.  * in its' correct space in the WorldHierarchy.  See N3DShape for more on
  14.  * the relationships of shape spaces.
  15.  *
  16.  */
  17.  
  18. @interface ControlPoint : Shape
  19. {
  20. }
  21.  
  22. // init is where we get to setup our ControlPoints
  23. - init;
  24.  
  25. // trans is the method by which the ControlPoint passes its' current 
  26. // translation to its' master object, such as Patch.
  27. - trans:(RtFloat *)t;
  28. @end